package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import java.util.Date;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 客户与项目匹配参数
 * @author LikeAdmin
 */
@Data
@ApiModel("客户与项目匹配更新参数")
public class CustomerProjectUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "clientId参数缺失")
    @ApiModelProperty(value = "客户id")
    private Integer clientId;

    @NotNull(message = "projectId参数缺失")
    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @NotNull(message = "created参数缺失")
    @ApiModelProperty(value = "匹配时间")
    private Date created;

}
